<?
include"cek.php";
include"sambung.php";
$update=mysql_query("update data_karyawan set status='0' where nik='$nik'");
$update1=mysql_query("update data_cuti set aktivasi='-' where id='$id'");
?>
<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Website Cuti Online</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<style>
<!--
body         { font-family: arial; color: #000080 }
-->
</style>
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="images/bg.gif" onload="FP_preloadImgs(/*url*/'images/button21.gif', /*url*/'images/button23.gif')">
<center><br>
<TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR>
                <TD>
                        <IMG SRC="images/tkm_01.gif" WIDTH=800 HEIGHT=158 ALT=""></TD>
        </TR>
        <TR>
                <TD>
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/tkm_02.gif" id="table1">
                                <tr>
                                        <td width="12">&nbsp;</td>
                                        <td valign="top">
                                        <p align="center">&nbsp;</p>
                                        <p align="center" style="margin-top: 3px; margin-bottom: 3px">&nbsp;</p>
                                        <p align="center" style="margin-top: 3px; margin-bottom: 3px">
                                        Terimakasih, Anda telah aktif kembali<p align="center" style="margin-top: 3px; margin-bottom: 3px">
                                        <br>
                                        <br>
                                        <a href="karyawan.php">
                                        <img border="0" id="img1" src="images/button20.gif" height="20" width="125" alt="Halaman Member" fp-style="fp-btn: Metal Rectangle 1; fp-font-color-hover: #FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0" fp-title="Halaman Member" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button21.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button20.gif')"></a>
                                        <a href="keluar.php">
                                        <img border="0" id="img2" src="images/button22.gif" height="20" width="125" alt="Keluar" onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/button23.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/button22.gif')" fp-style="fp-btn: Metal Rectangle 1; fp-font-color-hover: #FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0" fp-title="Keluar"></a></td>
                                        <td width="15">&nbsp;</td>
                                </tr>
                        </table>
                </TD>
        </TR>
        <TR>
                <TD>
                        <IMG SRC="images/tkm_05.gif" WIDTH=800 HEIGHT=45 ALT=""></TD>
        </TR>
</TABLE>
</BODY>
</HTML>